//
//  TabtoolsView.swift
//  weibo
//
//  Created by JonsonLiu on 2017/3/14.
//  Copyright © 2017年 JonsonLiu. All rights reserved.
//

import UIKit

class TabtoolsView: UIView {
    
    
    var viewModel : StatesViewModel? {
        
        didSet{
            
            retweetedButton.setTitle(viewModel?.retweetedStr, for: [])
            
            commentButton.setTitle(viewModel?.commentStr, for: [])
            
            likeButton.setTitle(viewModel?.likeStr
                , for: [])
        }
        
    }
    

    @IBOutlet weak var retweetedButton: UIButton!


    @IBOutlet weak var commentButton: UIButton!


    @IBOutlet weak var likeButton: UIButton!


}
